import request from '/@/utils/request';

export function getPolicyList(query?: Object) {
  return request({
    url: '/admin/ecoStrategy/getStrategy',
    method: 'get',
    params: query
  })
}
export function editPolicy(data: Object) {
  return request({
      url: '/admin/ecoStrategy/variableUpdate',
      method: 'put',
      data
  })
}
